/*
 * token.h
 *
 *  Created on: 07.04.2010
 *      Author: Florian Gref
 */

#ifndef TOKEN_H_
#define TOKEN_H_
#include"../konstanten/cons.h"

class token {
	tokentype type;
	int line;
	int column;
	char* lexem;
	long wert;
public:
	char* getLexem();
	tokentype getTyp();
	int getLine();
	int getColumn();
	long getWert();
	token(tokentype type, int line, int column, char* lexem );
	token(tokentype type, int line, int column, long wert);
	token(tokentype type, int line, int column);
	virtual ~token();
};

#endif /* TOKEN_H_ */
